package com.len.mapper;

import com.len.base.BaseMapper;
import com.len.entity.TQuotation;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface QuotationMapper extends BaseMapper<TQuotation,String> {

    @Select(" delete from t_quotation  where order_no = #{orderNo} ")
    int delectByOrderNo(String orderNo);
    @Select("select * from t_quotation order by add_time desc ")
    List<TQuotation> selectListByPage(TQuotation tProductNotice);

    @Select("select * from t_quotation where order_no = #{orderNo} ")
    List<TQuotation> selectListByOrderNo(String orderNo);
}
